package top.caoayu.base.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import top.caoayu.base.entity.SysPrivilege;

import java.util.List;

public interface SysPrivilegeMapper extends com.baomidou.mybatisplus.core.mapper.BaseMapper<SysPrivilege> {
    List<SysPrivilege> selectByRoleIds(@Param("roleIds") List<Long> roleIds);
    List<SysPrivilege> selectByRoleId(@Param("roleId") List<Long> roleId);
}